from celery.result import AsyncResult
from celery_tasks.celery import cel

async_result = AsyncResult(id='94db8aef-3b34-4778-b13c-eae0bf07f576', app=cel)

if async_result.successful():
    result = async_result.get()
    print(result)
elif async_result.failed():
    print('任务执行失败')
elif async_result.status == 'STARTED':
    print('任务已经开始执行')
